/*!* 基础样式重置 *!*/
/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*}*/

/*body {*/
/*    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
/*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
/*    min-height: 100vh;*/
/*    color: #333;*/
/*}*/

/*.hidden {*/
/*    display: none !important;*/
/*}*/

/*!* 容器样式 *!*/
/*.container {*/
/*    min-height: 100vh;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/*!* 登录表单样式 *!*/
/*.login-form {*/
/*    background: white;*/
/*    padding: 2rem;*/
/*    border-radius: 15px;*/
/*    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);*/
/*    width: 100%;*/
/*    max-width: 400px;*/
/*    margin: 2rem;*/
/*}*/

/*.login-form h1 {*/
/*    text-align: center;*/
/*    margin-bottom: 2rem;*/
/*    color: #667eea;*/
/*    font-size: 2rem;*/
/*}*/

/*!* 标签页样式 *!*/
/*.form-tabs {*/
/*    display: flex;*/
/*    margin-bottom: 1.5rem;*/
/*    border-bottom: 1px solid #eee;*/
/*}*/

/*.tab-btn {*/
/*    flex: 1;*/
/*    padding: 1rem;*/
/*    border: none;*/
/*    background: none;*/
/*    cursor: pointer;*/
/*    font-size: 1rem;*/
/*    color: #666;*/
/*    border-bottom: 3px solid transparent;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.tab-btn.active {*/
/*    color: #667eea;*/
/*    border-bottom-color: #667eea;*/
/*}*/

/*.tab-content {*/
/*    display: none;*/
/*}*/

/*.tab-content.active {*/
/*    display: block;*/
/*}*/

/*!* 表单组样式 *!*/
/*.form-group {*/
/*    margin-bottom: 1.5rem;*/
/*}*/

/*.form-group input {*/
/*    width: 100%;*/
/*    padding: 1rem;*/
/*    border: 2px solid #eee;*/
/*    border-radius: 8px;*/
/*    font-size: 1rem;*/
/*    transition: border-color 0.3s ease;*/
/*}*/

/*.form-group input:focus {*/
/*    outline: none;*/
/*    border-color: #667eea;*/
/*}*/

/*!* 按钮样式 *!*/
/*.btn-primary {*/
/*    width: 100%;*/
/*    padding: 1rem;*/
/*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 8px;*/
/*    font-size: 1rem;*/
/*    cursor: pointer;*/
/*    transition: transform 0.2s ease;*/
/*}*/

/*.btn-primary:hover {*/
/*    transform: translateY(-2px);*/
/*}*/

/*.btn-secondary {*/
/*    padding: 0.5rem 1rem;*/
/*    background: #f8f9fa;*/
/*    color: #666;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 6px;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.btn-secondary:hover {*/
/*    background: #e9ecef;*/
/*}*/

/*!* 主界面样式 *!*/
/*#main-container {*/
/*    flex-direction: column;*/
/*    align-items: stretch;*/
/*    min-height: 100vh;*/
/*    background: #f8f9fa;*/
/*}*/

/*!* 头部样式 *!*/
/*.header {*/
/*    background: white;*/
/*    padding: 1rem 2rem;*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.user-info {*/
/*    font-size: 1.1rem;*/
/*    font-weight: 500;*/
/*}*/

/*.user-id {*/
/*    color: #666;*/
/*    font-size: 0.9rem;*/
/*    margin-left: 0.5rem;*/
/*}*/

/*!* 主要内容区域 *!*/
/*.main-content {*/
/*    display: flex;*/
/*    flex: 1;*/
/*    min-height: calc(100vh - 80px);*/
/*}*/

/*!* 侧边栏样式 *!*/
/*.sidebar {*/
/*    width: 250px;*/
/*    background: white;*/
/*    padding: 2rem 0;*/
/*    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.nav-menu {*/
/*    list-style: none;*/
/*}*/

/*.nav-item {*/
/*    display: block;*/
/*    padding: 1rem 2rem;*/
/*    text-decoration: none;*/
/*    color: #666;*/
/*    transition: all 0.3s ease;*/
/*    border-left: 4px solid transparent;*/
/*}*/

/*.nav-item:hover,*/
/*.nav-item.active {*/
/*    background: #f8f9fa;*/
/*    color: #667eea;*/
/*    border-left-color: #667eea;*/
/*}*/

/*!* 内容区域样式 *!*/
/*.content-area {*/
/*    flex: 1;*/
/*    padding: 2rem;*/
/*    overflow-y: auto;*/
/*}*/

/*.content-section {*/
/*    display: none;*/
/*}*/

/*.content-section.active {*/
/*    display: block;*/
/*}*/

/*.section-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    margin-bottom: 2rem;*/
/*}*/

/*.section-header h2 {*/
/*    color: #333;*/
/*    font-size: 1.5rem;*/
/*}*/

/*!* 列表容器样式 *!*/
/*.list-container {*/
/*    background: white;*/
/*    border-radius: 10px;*/
/*    padding: 1rem;*/
/*    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.list-item {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    padding: 1rem;*/
/*    border-bottom: 1px solid #eee;*/
/*    transition: background 0.3s ease;*/
/*}*/

/*.list-item:hover {*/
/*    background: #f8f9fa;*/
/*}*/

/*.list-item:last-child {*/
/*    border-bottom: none;*/
/*}*/

/*.item-info {*/
/*    flex: 1;*/
/*}*/

/*.item-name {*/
/*    font-weight: 500;*/
/*    color: #333;*/
/*    cursor: pointer;*/
/*    transition: color 0.3s ease;*/
/*}*/

/*.item-name:hover {*/
/*    color: #667eea;*/
/*}*/

/*.item-time {*/
/*    color: #666;*/
/*    font-size: 0.9rem;*/
/*    margin-top: 0.25rem;*/
/*}*/

/*.item-actions {*/
/*    display: flex;*/
/*    gap: 0.5rem;*/
/*}*/

/*!* 功能按钮区域 *!*/


/*!* 模态框样式 *!*/
/*.modal {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: rgba(0, 0, 0, 0.5);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    z-index: 1000;*/
/*}*/

/*.modal-content {*/
/*    background: white;*/
/*    border-radius: 15px;*/
/*    width: 90%;*/
/*    max-width: 800px;*/
/*    max-height: 80vh;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);*/
/*}*/

/*.modal-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    padding: 1.5rem;*/
/*    border-bottom: 1px solid #eee;*/
/*}*/

/*.modal-header h3 {*/
/*    margin: 0;*/
/*    color: #333;*/
/*}*/

/*.close-btn {*/
/*    background: none;*/
/*    border: none;*/
/*    font-size: 1.5rem;*/
/*    cursor: pointer;*/
/*    color: #666;*/
/*    padding: 0.5rem;*/
/*}*/

/*!* 旅行计划详情样式 *!*/
/*.plan-detail-header {*/
/*    margin-bottom: 20px;*/
/*    padding-bottom: 15px;*/
/*    border-bottom: 2px solid #f0f0f0;*/
/*}*/

/*.plan-detail-header h3 {*/
/*    font-size: 1.8em;*/
/*    color: #2c3e50;*/
/*    margin-bottom: 10px;*/
/*    font-weight: 600;*/
/*}*/

/*.plan-meta {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    gap: 20px;*/
/*    font-size: 0.9em;*/
/*    color: #7f8c8d;*/
/*}*/

/*.plan-meta span {*/
/*    background: #f8f9fa;*/
/*    padding: 5px 10px;*/
/*    border-radius: 5px;*/
/*    border-left: 3px solid #3498db;*/
/*}*/

/*.plan-content h4 {*/
/*    font-size: 1.2em;*/
/*    color: #34495e;*/
/*    margin-bottom: 10px;*/
/*    font-weight: 600;*/
/*}*/

/*.edit-area {*/
/*    width: 100%;*/
/*    padding: 15px;*/
/*    border: 2px solid #e0e0e0;*/
/*    border-radius: 8px;*/
/*    font-family: 'Courier New', monospace;*/
/*    font-size: 0.95em;*/
/*    line-height: 1.5;*/
/*    resize: vertical;*/
/*    background: #fafafa;*/
/*    transition: border-color 0.3s ease;*/
/*}*/

/*.edit-area:focus {*/
/*    outline: none;*/
/*    border-color: #3498db;*/
/*    background: white;*/
/*    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);*/
/*}*/

/*.modal-body {*/
/*    padding: 1.5rem;*/
/*    max-height: calc(80vh - 100px);*/
/*    overflow-y: auto;*/
/*}*/

/*!* 语音模态框特殊样式 *!*/
/*.voice-modal {*/
/*    max-width: 400px;*/
/*}*/

/*.voice-input-area {*/
/*    text-align: center;*/
/*    margin-bottom: 2rem;*/
/*}*/

/*.voice-status {*/
/*    font-size: 1.1rem;*/
/*    margin-bottom: 1rem;*/
/*    color: #666;*/
/*}*/

/*.voice-wave {*/
/*    height: 40px;*/
/*    margin: 1rem 0;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/*.voice-text {*/
/*    min-height: 60px;*/
/*    padding: 1rem;*/
/*    background: #f8f9fa;*/
/*    border-radius: 8px;*/
/*    margin-top: 1rem;*/
/*    border: 1px solid #eee;*/
/*}*/

/*.voice-actions {*/
/*    display: flex;*/
/*    gap: 1rem;*/
/*    justify-content: center;*/
/*}*/

/*!* 编辑区域样式 *!*/
/*.edit-area {*/
/*    width: 100%;*/
/*    min-height: 200px;*/
/*    padding: 1rem;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 8px;*/
/*    font-family: inherit;*/
/*    font-size: 1rem;*/
/*    resize: vertical;*/
/*}*/

/*.edit-actions {*/
/*    display: flex;*/
/*    gap: 1rem;*/
/*    justify-content: flex-end;*/
/*    margin-top: 1rem;*/
/*}*/

/*!* 响应式设计 *!*/
/*@media (max-width: 768px) {*/
/*    .main-content {*/
/*        flex-direction: column;*/
/*    }*/
/*    */
/*    .sidebar {*/
/*        width: 100%;*/
/*        padding: 1rem 0;*/
/*    }*/
/*    */
/*    .nav-menu {*/
/*        display: flex;*/
/*        justify-content: space-around;*/
/*    }*/
/*    */
/*    .nav-item {*/
/*        border-left: none;*/
/*        border-bottom: 4px solid transparent;*/
/*        padding: 0.5rem 1rem;*/
/*    }*/
/*    */
/*    .nav-item.active {*/
/*        border-left-color: transparent;*/
/*        border-bottom-color: #667eea;*/
/*    }*/
/*    */
/*    .function-buttons {*/
/*        position: static;*/
/*        flex-direction: row;*/
/*        justify-content: center;*/
/*        margin: 2rem;*/
/*    }*/
/*    */
/*    .voice-btn {*/
/*        min-width: auto;*/
/*        padding: 1rem;*/
/*    }*/
/*}*/

/*!* 加载动画 *!*/
/*.loading {*/
/*    display: inline-block;*/
/*    width: 20px;*/
/*    height: 20px;*/
/*    border: 3px solid #f3f3f3;*/
/*    border-top: 3px solid #667eea;*/
/*    border-radius: 50%;*/
/*    animation: spin 1s linear infinite;*/
/*}*/

/*@keyframes spin {*/
/*    0% { transform: rotate(0deg); }*/
/*    100% { transform: rotate(360deg); }*/
/*}*/

/*!* 空状态样式 *!*/
/*.empty-state {*/
/*    text-align: center;*/
/*    padding: 3rem 2rem;*/
/*    color: #666;*/
/*}*/

/*.empty-state .icon {*/
/*    font-size: 3rem;*/
/*    margin-bottom: 1rem;*/
/*    opacity: 0.5;*/
/*}*/

/*!* 新数据标签样式 *!*/
/*.new-item {*/
/*    position: relative;*/
/*    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);*/
/*    border-left: 4px solid #ffc107;*/
/*    animation: pulse 2s infinite;*/
/*}*/

/*.new-badge {*/
/*    display: inline-block;*/
/*    background: #ff6b6b;*/
/*    color: white;*/
/*    font-size: 0.7rem;*/
/*    font-weight: bold;*/
/*    padding: 2px 6px;*/
/*    border-radius: 10px;*/
/*    margin-left: 8px;*/
/*    animation: bounce 1s infinite;*/
/*}*/

/*!* 语音按钮录音状态样式 *!*/
/*.voice-btn.recording {*/
/*    background: linear-gradient(135deg, #ff6b6b 0%, #c44569 100%);*/
/*    animation: recording-pulse 1s infinite;*/
/*    transform: scale(1.05);*/
/*}*/

/*.voice-btn.recording .btn-icon {*/
/*    animation: recording-icon 1s infinite;*/
/*}*/

/*.voice-btn.processing {*/
/*    background: linear-gradient(135deg, #4ecdc4, #44a08d);*/
/*    animation: processing-pulse 2s ease-in-out infinite;*/
/*    transform: scale(1.02);*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.voice-btn.processing .btn-icon {*/
/*    animation: processing-icon 1.5s ease-in-out infinite;*/
/*}*/

/*@keyframes pulse {*/
/*    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }*/
/*    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }*/
/*    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }*/
/*}*/

/*@keyframes bounce {*/
/*    0%, 100% { transform: translateY(0); }*/
/*    50% { transform: translateY(-3px); }*/
/*}*/

/*@keyframes recording-pulse {*/
/*    0%, 100% { */
/*        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);*/
/*        transform: scale(1.05);*/
/*    }*/
/*    50% { */
/*        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);*/
/*        transform: scale(1.08);*/
/*    }*/
/*}*/

/*@keyframes recording-icon {*/
/*    0%, 100% { transform: scale(1); }*/
/*    50% { transform: scale(1.2); }*/
/*}*/

/*@keyframes processing-pulse {*/
/*    0%, 100% { */
/*        box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.4);*/
/*        transform: scale(1.02);*/
/*    }*/
/*    50% { */
/*        box-shadow: 0 0 0 10px rgba(78, 205, 196, 0);*/
/*        transform: scale(1.03);*/
/*    }*/
/*}*/

/*@keyframes processing-icon {*/
/*    0%, 100% { */
/*        transform: scale(1) rotate(0deg);*/
/*        opacity: 1;*/
/*    }*/
/*    25% { */
/*        transform: scale(1.1) rotate(90deg);*/
/*        opacity: 0.8;*/
/*    }*/
/*    50% { */
/*        transform: scale(1.2) rotate(180deg);*/
/*        opacity: 0.6;*/
/*    }*/
/*    75% { */
/*        transform: scale(1.1) rotate(270deg);*/
/*        opacity: 0.8;*/
/*    }*/
/*}*/

/*!* 顶部导航栏布局 *!*/
/*.header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    padding: 1rem 2rem;*/
/*    background: #f8f9fa;*/
/*    border-bottom: 1px solid #e9ecef;*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.user-info {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 0.5rem;*/
/*    font-size: 1.1rem;*/
/*    font-weight: 500;*/
/*}*/

/*.user-id {*/
/*    font-size: 0.9rem;*/
/*    color: #666;*/
/*}*/

/*!* 功能按钮区域样式 *!*/
/*.function-buttons {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 1rem;*/
/*}*/

/*.voice-btn-container {*/
/*    display: flex;*/
/*    gap: 1rem;*/
/*    align-items: center;*/
/*}*/

/*.voice-btn {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    align-items: center;*/
/*    justify-content: flex-start;*/
/*    min-width: 160px;*/
/*    padding: 0.5rem 1rem;*/
/*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 8px;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);*/
/*    font-family: inherit;*/
/*    font-size: 0.9rem;*/
/*    font-weight: 500;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    height: 55px;*/
/*    gap: 0.5rem;*/
/*}*/

/*.voice-btn:hover {*/
/*    transform: translateY(-1px);*/
/*    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);*/
/*}*/

/*.voice-btn:active {*/
/*    transform: translateY(0);*/
/*    box-shadow: 0 1px 6px rgba(102, 126, 234, 0.3);*/
/*}*/

/*.btn-icon {*/
/*    font-size: 1.2rem;*/
/*    transition: transform 0.3s ease;*/
/*    flex-shrink: 0;*/
/*}*/

/*.btn-text {*/
/*    font-size: 0.9rem;*/
/*    font-weight: 600;*/
/*    flex-grow: 1;*/
/*    text-align: left;*/
/*}*/

/*.voice-indicator {*/
/*    font-size: 0.7rem;*/
/*    opacity: 0.9;*/
/*    transition: all 0.3s ease;*/
/*    position: absolute;*/
/*    bottom: 0.2rem;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    font-size: 0.6rem;*/
/*    text-align: center;*/
/*    width: 100%;*/
/*}*/

/*!* 响应式设计 *!*/
/*@media (max-width: 768px) {*/
/*    .header {*/
/*        flex-direction: column;*/
/*        gap: 1rem;*/
/*        padding: 1rem;*/
/*    }*/
/*    */
/*    .function-buttons {*/
/*        order: 2;*/
/*        width: 100%;*/
/*        justify-content: center;*/
/*    }*/
/*    */
/*    .voice-btn-container {*/
/*        flex-direction: row;*/
/*        gap: 0.5rem;*/
/*        justify-content: center;*/
/*        flex-wrap: wrap;*/
/*    }*/
/*    */
/*    .voice-btn {*/
/*        min-width: 140px;*/
/*        padding: 0.5rem 1rem;*/
/*        flex-direction: row;*/
/*        justify-content: flex-start;*/
/*        gap: 0.4rem;*/
/*    }*/
/*    */
/*    .btn-icon {*/
/*        font-size: 1.1rem;*/
/*    }*/
/*    */
/*    .btn-text {*/
/*        font-size: 0.8rem;*/
/*        text-align: left;*/
/*    }*/
/*    */
/*    .voice-indicator {*/
/*        font-size: 0.6rem;*/
/*        bottom: 0.1rem;*/
/*        left: 50%;*/
/*        transform: translateX(-50%);*/
/*        text-align: center;*/
/*        width: 100%;*/
/*    }*/
/*}*/

/*!* 高德地图样式 *!*/
/*.map-controls {*/
/*    display: flex;*/
/*    gap: 1rem;*/
/*    align-items: center;*/
/*}*/

/*.map-container {*/
/*    position: relative;*/
/*    width: 100%;*/
/*    height: 500px;*/
/*    background: #f8f9fa;*/
/*    border-radius: 10px;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
/*}*/

/*#map {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*}*/

/*.map-loading {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    background: rgba(255, 255, 255, 0.9);*/
/*    z-index: 10;*/
/*}*/

/*.loading-spinner {*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    border: 4px solid #f3f3f3;*/
/*    border-top: 4px solid #667eea;*/
/*    border-radius: 50%;*/
/*    animation: spin 1s linear infinite;*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.location-info {*/
/*    margin-top: 1rem;*/
/*    padding: 1rem;*/
/*    background: white;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.location-info p {*/
/*    margin: 0;*/
/*    font-size: 0.9rem;*/
/*    color: #666;*/
/*}*/

/*#current-location {*/
/*    font-weight: 500;*/
/*    color: #333;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*!* 位置信息状态样式 *!*/
/*#current-location.location-default {*/
/*    color: #666;*/
/*}*/

/*#current-location.location-loading {*/
/*    color: #667eea;*/
/*    font-style: italic;*/
/*}*/

/*#current-location.location-success {*/
/*    color: #28a745;*/
/*    font-weight: 600;*/
/*}*/

/*#current-location.location-error {*/
/*    color: #dc3545;*/
/*    font-weight: 600;*/
/*}*/

/*!* 地图控制按钮样式 *!*/
/*#locate-me, #reset-map {*/
/*    padding: 0.6rem 1rem;*/
/*    border: none;*/
/*    border-radius: 6px;*/
/*    cursor: pointer;*/
/*    font-size: 0.9rem;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*#locate-me {*/
/*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
/*    color: white;*/
/*}*/

/*#locate-me:hover {*/
/*    transform: translateY(-1px);*/
/*    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);*/
/*}*/

/*#reset-map {*/
/*    background: #f8f9fa;*/
/*    color: #666;*/
/*    border: 1px solid #ddd;*/
/*}*/

/*#reset-map:hover {*/
/*    background: #e9ecef;*/
/*}*/

/*!* 地图标记样式 *!*/
/*.amap-marker {*/
/*    cursor: pointer;*/
/*}*/

/*!* 响应式地图样式 *!*/
/*@media (max-width: 768px) {*/
/*    .map-container {*/
/*        height: 400px;*/
/*    }*/
/*    */
/*    .map-controls {*/
/*        flex-direction: column;*/
/*        align-items: stretch;*/
/*    }*/
/*    */
/*    #locate-me, #reset-map {*/
/*        width: 100%;*/
/*        margin-bottom: 0.5rem;*/
/*    }*/
/*}*/

/*!* 万能助手样式 *!*/
/*.assistant-container {*/
/*    max-width: 800px;*/
/*    margin: 0 auto;*/
/*    background: white;*/
/*    border-radius: 15px;*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
/*    overflow: hidden;*/
/*}*/

/*.assistant-welcome {*/
/*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
/*    color: white;*/
/*    padding: 2rem;*/
/*    text-align: center;*/
/*}*/

/*.assistant-welcome h3 {*/
/*    margin: 0;*/
/*    font-size: 1.3rem;*/
/*    font-weight: 400;*/
/*}*/

/*.assistant-input-area {*/
/*    padding: 2rem;*/
/*    border-bottom: 1px solid #eee;*/
/*}*/

/*#question-input {*/
/*    width: 100%;*/
/*    padding: 1rem;*/
/*    border: 2px solid #eee;*/
/*    border-radius: 8px;*/
/*    font-size: 1rem;*/
/*    font-family: inherit;*/
/*    resize: vertical;*/
/*    min-height: 100px;*/
/*    transition: border-color 0.3s ease;*/
/*}*/

/*#question-input:focus {*/
/*    outline: none;*/
/*    border-color: #667eea;*/
/*}*/

/*.assistant-input-area .btn-primary {*/
/*    margin-top: 1rem;*/
/*    width: auto;*/
/*    padding: 0.8rem 2rem;*/
/*    font-size: 1rem;*/
/*}*/

/*.assistant-loading {*/
/*    padding: 2rem;*/
/*    text-align: center;*/
/*    background: #f8f9fa;*/
/*}*/

/*.assistant-loading p {*/
/*    margin-top: 1rem;*/
/*    color: #666;*/
/*    font-size: 1rem;*/
/*}*/

/*.assistant-response {*/
/*    padding: 2rem;*/
/*    border-bottom: 1px solid #eee;*/
/*}*/

/*.response-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.response-header h4 {*/
/*    margin: 0;*/
/*    color: #333;*/
/*    font-size: 1.1rem;*/
/*}*/

/*.response-content {*/
/*    background: #f8f9fa;*/
/*    padding: 1.5rem;*/
/*    border-radius: 8px;*/
/*    max-height: 400px;*/
/*    overflow-y: auto;*/
/*    line-height: 1.6;*/
/*    font-size: 1rem;*/
/*    color: #333;*/
/*}*/

/*.response-content p {*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.response-content p:last-child {*/
/*    margin-bottom: 0;*/
/*}*/

/*.assistant-history {*/
/*    padding: 2rem;*/
/*}*/

/*.history-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.history-header h4 {*/
/*    margin: 0;*/
/*    color: #333;*/
/*    font-size: 1.1rem;*/
/*}*/

/*.history-list {*/
/*    max-height: 300px;*/
/*    overflow-y: auto;*/
/*}*/

/*.history-item {*/
/*    background: #f8f9fa;*/
/*    padding: 1rem;*/
/*    margin-bottom: 0.5rem;*/
/*    border-radius: 8px;*/
/*    border-left: 4px solid #667eea;*/
/*}*/

/*.history-question {*/
/*    font-weight: 500;*/
/*    color: #333;*/
/*    margin-bottom: 0.5rem;*/
/*}*/

/*.history-answer {*/
/*    color: #666;*/
/*    font-size: 0.9rem;*/
/*    line-height: 1.4;*/
/*}*/

/*.history-time {*/
/*    font-size: 0.8rem;*/
/*    color: #999;*/
/*    margin-top: 0.5rem;*/
/*}*/

/*!* 历史对话按钮样式 *!*/
/*.history-actions {*/
/*    display: flex;*/
/*    gap: 0.5rem;*/
/*    margin-top: 0.75rem;*/
/*    justify-content: flex-end;*/
/*}*/

/*.btn-history {*/
/*    padding: 0.4rem 0.8rem;*/
/*    border: none;*/
/*    border-radius: 6px;*/
/*    font-size: 0.8rem;*/
/*    font-weight: 500;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 0.3rem;*/
/*    text-decoration: none;*/
/*}*/

/*.btn-history .btn-icon {*/
/*    font-size: 0.9rem;*/
/*    transition: transform 0.2s ease;*/
/*}*/

/*.btn-history:hover .btn-icon {*/
/*    transform: scale(1.1);*/
/*}*/

/*.btn-history:first-child {*/
/*    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);*/
/*    color: white;*/
/*}*/

/*.btn-history:first-child:hover {*/
/*    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);*/
/*    transform: translateY(-1px);*/
/*    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);*/
/*}*/

/*.btn-history:last-child {*/
/*    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);*/
/*    color: white;*/
/*}*/

/*.btn-history:last-child:hover {*/
/*    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);*/
/*    transform: translateY(-1px);*/
/*    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);*/
/*}*/

/*.btn-history:active {*/
/*    transform: translateY(0);*/
/*}*/

/*!* 历史项悬停效果 *!*/
/*.history-item:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
/*    transition: all 0.3s ease;*/
/*}*/

/*!* 响应式助手样式 *!*/
/*@media (max-width: 768px) {*/
/*    .assistant-container {*/
/*        margin: 0;*/
/*        border-radius: 0;*/
/*    }*/
/*    */
/*    .assistant-welcome {*/
/*        padding: 1.5rem;*/
/*    }*/
/*    */
/*    .assistant-welcome h3 {*/
/*        font-size: 1.1rem;*/
/*    }*/
/*    */
/*    .assistant-input-area,*/
/*    .assistant-loading,*/
/*    .assistant-response,*/
/*    .assistant-history {*/
/*        padding: 1.5rem;*/
/*    }*/
/*    */
/*    .response-content {*/
/*        max-height: 300px;*/
/*        font-size: 0.9rem;*/
/*    }*/
/*    */
/*    .history-list {*/
/*        max-height: 250px;*/
/*    }*/
/*}*/

/*!* 路线规划面板样式 *!*/
/*.route-panel {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    width: 430px;*/
/*    background: white;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
/*    z-index: 1000;*/
/*    max-height: 80vh;*/
/*    overflow-y: auto;*/
/*}*/

/*.route-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    padding: 1.5rem;*/
/*    border-bottom: 1px solid #eee;*/
/*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
/*    color: white;*/
/*    border-radius: 10px 10px 0 0;*/
/*}*/

/*.route-header h3 {*/
/*    margin: 0;*/
/*    font-size: 1.2rem;*/
/*}*/

/*.close-btn {*/
/*    background: none;*/
/*    border: none;*/
/*    color: white;*/
/*    font-size: 1.5rem;*/
/*    cursor: pointer;*/
/*    padding: 0;*/
/*    width: 30px;*/
/*    height: 30px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    border-radius: 50%;*/
/*    transition: background-color 0.3s ease;*/
/*}*/

/*.close-btn:hover {*/
/*    background-color: rgba(255, 255, 255, 0.2);*/
/*}*/

/*.route-form {*/
/*    padding: 1.5rem;*/
/*}*/

/*.route-form .form-group {*/
/*    margin-bottom: 1.5rem;*/
/*}*/

/*.route-form label {*/
/*    display: block;*/
/*    margin-bottom: 0.5rem;*/
/*    font-weight: 500;*/
/*    color: #333;*/
/*}*/

/*.route-form input {*/
/*    width: 100%;*/
/*    padding: 0.8rem;*/
/*    border: 2px solid #eee;*/
/*    border-radius: 6px;*/
/*    font-size: 0.9rem;*/
/*    transition: border-color 0.3s ease;*/
/*    box-sizing: border-box;*/
/*}*/

/*.route-form input:focus {*/
/*    outline: none;*/
/*    border-color: #667eea;*/
/*}*/

/*.route-form .btn-primary,*/
/*.route-form .btn-secondary {*/
/*    width: 100%;*/
/*    margin-bottom: 0.5rem;*/
/*    padding: 0.8rem;*/
/*}*/

/*.route-results {*/
/*    padding: 0 1.5rem 1.5rem;*/
/*}*/

/*.route-panel-content {*/
/*    background: #f8f9fa;*/
/*    border-radius: 8px;*/
/*    padding: 1rem;*/
/*    max-height: 300px;*/
/*    overflow-y: auto;*/
/*}*/

/*.route-info {*/
/*    background: white;*/
/*    padding: 1rem;*/
/*    margin-bottom: 1rem;*/
/*    border-radius: 6px;*/
/*    border-left: 4px solid #667eea;*/
/*    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.route-info h4 {*/
/*    margin: 0 0 0.5rem 0;*/
/*    color: #333;*/
/*    font-size: 1rem;*/
/*}*/

/*.route-info p {*/
/*    margin: 0.25rem 0;*/
/*    color: #666;*/
/*    font-size: 0.9rem;*/
/*}*/

/*.route-error {*/
/*    background: #ffebee;*/
/*    border-left-color: #f44336;*/
/*    color: #d32f2f;*/
/*}*/

/*.route-loading {*/
/*    text-align: center;*/
/*    padding: 2rem;*/
/*    color: #666;*/
/*}*/

/*.route-loading .loading-spinner {*/
/*    width: 30px;*/
/*    height: 30px;*/
/*    border: 3px solid #f3f3f3;*/
/*    border-top: 3px solid #667eea;*/
/*    border-radius: 50%;*/
/*    animation: spin 1s linear infinite;*/
/*    margin: 0 auto 1rem;*/
/*}*/

/*@keyframes spin {*/
/*    0% { transform: rotate(0deg); }*/
/*    100% { transform: rotate(360deg); }*/
/*}*/

/*!* 地图控件样式调整 *!*/
/*.map-controls {*/
/*    display: flex;*/
/*    gap: 0.5rem;*/
/*    align-items: center;*/
/*}*/

/*.map-controls .btn-primary,*/
/*.map-controls .btn-secondary {*/
/*    padding: 0.6rem 1rem;*/
/*    font-size: 0.9rem;*/
/*    white-space: nowrap;*/
/*}*/

/*!* 响应式路线规划面板 *!*/
/*@media (max-width: 768px) {*/
/*    .route-panel {*/
/*        position: fixed;*/
/*        top: 0;*/
/*        left: 0;*/
/*        right: 0;*/
/*        bottom: 0;*/
/*        width: 100%;*/
/*        height: 100%;*/
/*        border-radius: 0;*/
/*        z-index: 2000;*/
/*    }*/
/*    */
/*    .route-form {*/
/*        padding: 1rem;*/
/*    }*/
/*    */
/*    .route-panel-content {*/
/*        max-height: 200px;*/
/*    }*/
/*}*/

/* 基础样式重置 - 全新设计 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #0ea5e9;
    --accent-color: #f97316;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* 容器样式 */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 登录界面样式 */
#login-container {
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-image: url('https://picsum.photos/id/1039/1920/1080');
    background-size: cover;
    background-position: center;
    position: relative;
}

#login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
}

.login-form {
    background: var(--bg-secondary);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.login-logo i {
    font-size: 2.8rem;
    color: var(--primary-color);
}

.login-form h1 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* 标签页样式 */
.form-tabs {
    display: flex;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.tab-btn {
    flex: 1;
    padding: 1rem 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 表单组样式 */
.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.form-group input {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    transition: var(--transition);
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background-color: var(--bg-secondary);
}

/* 按钮样式 */
.btn-primary {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
    background: linear-gradient(90deg, var(--primary-dark), #0284c7);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    padding: 0.7rem 1.5rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--text-light);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
}

/* 主界面样式 */
#main-container {
    background: var(--bg-primary);
}

/* 头部样式 */
.header {
    background: var(--bg-secondary);
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.user-info i {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.user-id {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

/* 功能按钮区域 */
.function-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.voice-btn-container {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.voice-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 180px;
    padding: 0.9rem 1.5rem;
    background: var(--bg-secondary);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.voice-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(14, 165, 233, 0.05));
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 1;
}

.voice-btn:hover {
    background: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.voice-btn:active::before {
    opacity: 1;
}

.btn-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.voice-btn:hover .btn-icon {
    transform: scale(1.15);
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    position: relative;
    z-index: 2;
}

.btn-text {
    font-size: 1rem;
    font-weight: 600;
}

.voice-indicator {
    font-size: 0.8rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    position: static;
    bottom: auto;
    right: auto;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 88px);
}

/* 侧边栏样式 */
.sidebar {
    width: 260px;
    background: var(--bg-secondary);
    padding: 2.5rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-right: 1px solid var(--border-color);
}

.sidebar:hover {
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.03);
}

.nav-menu {
    list-style: none;
    padding: 0 1rem;
}

.nav-item {
    display: block;
    padding: 1.2rem 1.8rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px 0 0 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-item:hover,
.nav-item.active {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary-color);
    transform: translateX(3px);
}

.nav-item:hover::before,
.nav-item.active::before {
    opacity: 1;
}

.nav-item:hover i,
.nav-item.active i {
    color: var(--primary-color);
}

/* 内容区域样式 */
.content-area {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
}

.content-section {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.content-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-header h2 {
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-header h2 i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* 列表容器样式 */
.list-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.list-container:hover {
    box-shadow: var(--shadow-lg);
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
}

.list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.list-item:hover {
    background: var(--bg-primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.item-name:hover {
    color: var(--primary-color);
}

.item-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.item-actions {
    display: flex;
    gap: 0.8rem;
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 850px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    animation: modalSlideIn 0.4s ease forwards;
}

@keyframes modalSlideIn {
    to { transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.modal-header h3 i {
    color: var(--primary-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.5rem;
    transition: var(--transition);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
    transform: rotate(90deg);
}

/* 旅行计划详情样式 */
.plan-detail-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.plan-detail-header h3 {
    font-size: 1.8em;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 1em;
    color: var(--text-secondary);
}

.plan-meta span {
    background: var(--bg-primary);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-meta span i {
    color: var(--primary-color);
}

.plan-content h4 {
    font-size: 1.3em;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.plan-content h4 i {
    color: var(--primary-color);
}

.edit-area {
    width: 100%;
    padding: 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    background: var(--bg-primary);
    transition: var(--transition);
}

.edit-area:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.modal-body {
    padding: 2rem;
    max-height: calc(85vh - 120px);
    overflow-y: auto;
}

/* 语音模态框特殊样式 */
.voice-modal {
    max-width: 500px;
}

.voice-input-area {
    text-align: center;
    margin-bottom: 2.5rem;
}

.voice-status {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.voice-wave {
    height: 80px;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.voice-wave span {
    width: 8px;
    height: 100%;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    animation: wave 1s ease-in-out infinite;
}

.voice-wave span:nth-child(2) { animation-delay: 0.1s; height: 60%; }
.voice-wave span:nth-child(3) { animation-delay: 0.2s; height: 80%; }
.voice-wave span:nth-child(4) { animation-delay: 0.3s; height: 40%; }
.voice-wave span:nth-child(5) { animation-delay: 0.4s; height: 90%; }
.voice-wave span:nth-child(6) { animation-delay: 0.5s; height: 50%; }
.voice-wave span:nth-child(7) { animation-delay: 0.6s; height: 70%; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

.voice-text {
    min-height: 100px;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    border: 1px solid var(--border-color);
    font-size: 1.05rem;
    color: var(--text-primary);
    text-align: left;
}

.voice-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

/* 编辑区域样式 */
.edit-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* 高德地图样式 */
.map-controls {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.map-container {
    position: relative;
    width: 100%;
    height: 550px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

#map {
    width: 100%;
    height: 100%;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.location-info {
    margin-top: 1.8rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.location-info p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.location-info p i {
    color: var(--primary-color);
}

#current-location {
    font-weight: 600;
    color: var(--text-primary);
}

/* 路线规划面板样式 */
.route-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 430px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.route-header h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.route-form {
    padding: 1.5rem;
}

.route-form .form-group {
    margin-bottom: 1.5rem;
}

.route-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.route-form label i {
    color: var(--primary-color);
}

.route-form input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.route-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.route-form .btn-primary,
.route-form .btn-secondary {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.8rem;
}

.route-results {
    padding: 0 1.5rem 1.5rem;
}

.route-panel-content {
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.route-info {
    background: var(--bg-secondary);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.route-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.route-info p {
    margin: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.route-error {
    background: #fff1f1;
    border-left-color: #ef4444;
    color: #b91c1c;
}

.route-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

.route-loading .loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* 万能助手样式 */
.assistant-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.assistant-welcome {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2.2rem;
    text-align: center;
}

.assistant-welcome i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.assistant-welcome h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 500;
}

.assistant-welcome p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.assistant-input-area {
    padding: 2.2rem;
    border-bottom: 1px solid var(--border-color);
}

#question-input {
    width: 100%;
    padding: 1.3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-family: inherit;
    resize: vertical;
    min-height: 130px;
    transition: var(--transition);
    background-color: var(--bg-primary);
}

#question-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background-color: var(--bg-secondary);
}

.assistant-input-area .btn-primary {
    margin-top: 1.2rem;
    width: auto;
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
}

.assistant-loading {
    padding: 2.2rem;
    text-align: center;
    background: var(--bg-primary);
}

.assistant-loading p {
    margin-top: 1.2rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.assistant-response {
    padding: 2.2rem;
    border-bottom: 1px solid var(--border-color);
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.response-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.response-header h4 i {
    color: var(--primary-color);
}

.response-content {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    max-height: 450px;
    overflow-y: auto;
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.response-content p {
    margin-bottom: 1.2rem;
}

.response-content p:last-child {
    margin-bottom: 0;
}

.assistant-history {
    padding: 2.2rem;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.history-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.history-header h4 i {
    color: var(--primary-color);
}

.history-list {
    max-height: 350px;
    overflow-y: auto;
}

.history-item {
    background: var(--bg-primary);
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.history-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.history-question {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.history-answer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.history-time {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.history-time i {
    font-size: 0.8rem;
}

/* 历史对话按钮样式 */
.history-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

.btn-history {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-history .btn-icon {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.btn-history:hover .btn-icon {
    transform: scale(1.15);
}

.btn-history:first-child {
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
}

.btn-history:first-child:hover {
    background: linear-gradient(90deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-history:last-child {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    color: white;
}

.btn-history:last-child:hover {
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-history:active {
    transform: translateY(0);
}

/* 语音按钮录音状态样式 */
.voice-btn.recording {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    color: white;
    border-color: #ef4444;
    animation: recording-pulse 1.2s infinite;
    transform: scale(1.05);
}

.voice-btn.recording:hover {
    background: linear-gradient(90deg, #dc2626, #b91c1c);
}

.voice-btn.recording .btn-icon {
    animation: recording-icon 1s infinite;
}

.voice-btn.processing {
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
    animation: processing-pulse 2s ease-in-out infinite;
    transform: scale(1.02);
}

.voice-btn.processing:hover {
    background: linear-gradient(90deg, #059669, #047857);
}

.voice-btn.processing .btn-icon {
    animation: processing-icon 1.5s ease-in-out infinite;
}

@keyframes recording-pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
        transform: scale(1.05);
    }
    50% {
        box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
        transform: scale(1.08);
    }
}

@keyframes recording-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes processing-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
        transform: scale(1.02);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
        transform: scale(1.03);
    }
}

@keyframes processing-icon {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.1) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: scale(1.1) rotate(270deg);
        opacity: 0.8;
    }
}

/* 新数据标签样式 */
.new-item {
    position: relative;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-left: 4px solid #f59e0b;
    animation: pulse 2s infinite;
}

.new-badge {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
    animation: bounce 1s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 4rem 2.5rem;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-color);
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
    color: var(--text-light);
}

.empty-state h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .voice-btn-container {
        gap: 1rem;
    }

    .voice-btn {
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.2rem 1.5rem;
    }

    .function-buttons {
        order: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .voice-btn-container {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }

    .voice-btn {
        flex: 1;
        min-width: auto;
        padding: 0.8rem 1rem;
        justify-content: center;
    }

    .btn-text {
        font-size: 0.9rem;
    }

    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 1.5rem 0;
    }

    .nav-menu {
        display: flex;
        overflow-x: auto;
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .nav-item {
        padding: 0.8rem 1.2rem;
        white-space: nowrap;
        margin-bottom: 0;
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .nav-item i {
        font-size: 1.1rem;
    }

    .content-area {
        padding: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .map-container {
        height: 450px;
    }

    .map-controls {
        flex-wrap: wrap;
    }

    #locate-me, #reset-map, #route-planning-btn {
        flex: 1;
        min-width: 140px;
    }

    .route-panel {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .assistant-container {
        margin: 0;
        border-radius: 0;
    }

    .assistant-welcome,
    .assistant-input-area,
    .assistant-loading,
    .assistant-response,
    .assistant-history {
        padding: 1.5rem;
    }

    .response-content {
        max-height: 300px;
    }

    .history-list {
        max-height: 250px;
    }

    .login-form {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .voice-btn-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .voice-btn {
        width: 100%;
    }

    .modal-header {
        padding: 1.2rem 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .plan-meta {
        gap: 1rem;
    }

    .plan-meta span {
        flex: 1;
        min-width: 140px;
    }

    .voice-modal {
        width: 95%;
    }

    .voice-wave {
        height: 60px;
    }
}